package com.bdqn.zhang.pojo;

import cn.hutool.core.date.DateUtil;
import org.springframework.stereotype.Component;

/**
 * <Description> <br>
 *
 * @author tao<br>
 * @version 1.0<br>
 * @taskId: <br>
 * @createDate 2019/09/26 15:23 <br>
 * @see com.bdqn.zhang.pojo <br>
 */
@Component("myTask")
public class MyTask {
    private int count = 0;
    public void say(){
        System.out.println("大家好,我是springboot任务调度=>"+(count++)+"---"+ DateUtil.now());
    }
}
